<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <title>51问医生</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    {{--<link rel="shortcut icon" href="/Public/mobile/favicon.ico" type="image/x-icon" />--}}
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-status-bar-style" content="yes"/>
    <link rel="stylesheet" href="{{url('new/css/common.css')}}" />

    <script src="{{url('new/js/doctor_list.js')}}"></script>
    {{--<script src="http://mcdn.anxinyisheng.com/Public/mobile/js/lib_5d2f194.js"></script>--}}
    {{--<script src="http://mcdn.anxinyisheng.com/Public/mobile/js/app_7282afb.js"></script>--}}
    <link rel="stylesheet" href="{{url('new/css/usercenter.css')}}" />
</head>
<body>
<div class="card ax-boxshadow">
    <div class="card-img">
        <img src="@if($userinfo){{route('Api.Image.Show',['id'=>$userinfo->portrait_id])}}@else{{route('Api.Image.Show',['id'=>0])}}@endif" /></div>
    <p class="card-right">
    <span class="name">@if($user){{$userinfo->nick}}@elseif(!$userinfo || ($userinfo && is_null($userinfo->nick)))[未设置昵称] @endif</span>
        @if(!$userinfo || ($userinfo && is_null($userinfo->phone)))
        <a href="{{route('M.Home.newUserCenterSet')}}"><span class="phone">点击设置手机号</span></a>
        @else
        <span class="phone hasphone">{{$userinfo->phone}}</span>
        @endif
</div>
<div class="ax-boxshadow mine">
    <div class="left">
        <img src="{{url('new/images/userinfo.png')}}" />
        <a href="{{route('M.Home.newUserCenterSet')}}">
        <p>
            <span class="myvip" style="color:rgba(0,0,0,.87);">设置个人资料</span>
            @if(!$userinfo || ($userinfo && $userinfo->status == 0))
            <span class="date">未完善</span>
                @else
            <span class="date">已完善</span>
            @endif
        </p>
        </a>
    </div>
    {{--<a href="{{route('M.Home.newFollowDoctors')}}">--}}
    <div class="right">
        <a href="{{route('M.Home.newFollowDoctors')}}">
        <img src="{{url('new/images/mydoctors.png')}}" />
        <span style="color:rgba(0,0,0,.87); ">关注的医生</span>
        </a>
    </div>
    {{----}}
</div>
<a href="{{route('M.Home.orderList')."?model=2"}}">
<div class="coupon ax-boxshadow">

    <img class="coupon-appt" src="{{url('new/images/mianzhen.png')}}" />
    <span>面诊记录</span>
  <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
</div>
</a>
<a href="{{route('M.Home.orderList')."?model=1"}}">
<div class="coupon ax-boxshadow coupon-appts" ui-sref="home.apptOrderList({auth:auth,wx:wx})">
    <svg class="coupon-appt">
        <use xlink:href="#appt"></use>
    </svg>
    <span>预约记录</span>
  <span class="arrow-right">
    <svg>
        <use xlink:href="#arrow_right"></use>
    </svg>
  </span>
</div>
</a>
<a href="{{route('M.Home.newMyQuestions')}}">
<div class="coupon ax-boxshadow coupon-orders">
    <img class="coupon-appt" src="{{url('new/images/qa.png')}}" />
    <span>我的提问</span>
</div>
</a>
<svg>
    <symbol id="appt" viewBox="-1 -1 50 51">
        <title>icon/预约记录（个人中心，48*48）</title>
        <defs>
            <rect id="aca" x="3" y="5" width="42" height="41" rx="7" />
            <mask id="acb" x="0" y="0" width="42" height="41" fill="#fff">
                <use xlink:href="#aca" /></mask>
        </defs>
        <g fill="none" fill-rule="evenodd">
            <use stroke="#ABA494" mask="url(#acb)" stroke-width="4" xlink:href="#aca" />
            <rect fill="#ABA494" x="14" y="2" width="2" height="8" rx="1" />
            <rect fill="#ABA494" x="32" y="2" width="2" height="8" rx="1" />
            <path d="M3 15h42" stroke="#ABA494" stroke-width="2" />
            <path d="M32.914 21.994L23.67 38.007c-.067.2-.167.387-.33.534-.537.507-1.38.48-1.883-.053L15.36 32.86c-.503-.533-.475-1.386.062-1.88.537-.506 1.38-.48 1.885.054l4.77 4.4 8.528-14.773c.368-.626 1.182-.853 1.82-.48.638.36.857 1.187.49 1.814z" stroke="#EA8F90" stroke-width="1.333" fill="#EA8F90" /></g>
    </symbol>
</svg>
</body>
</html>